import {defineConfig} from 'vite';
import vueJsx from '@vitejs/plugin-vue-jsx';
import {resolve} from 'path';
// https://vitejs.dev/config/

export default defineConfig({
  resolve: {alias: {example: resolve(__dirname, '../src/example')}},
  base: '/docs',
  plugins: [
    // 添加JSX插件
    vueJsx()
  ]
});
